﻿// -----------------------------------------------------------------------
// <copyright file=DmDanTocBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class DmDanTocBusiness
    {
        DmDanTocDataAccess objDa = null;

        public DmDanTocBusiness()
        {
            objDa = new DmDanTocDataAccess();
        }

        public bool InsertDmDanToc(DmDanTocEntity obj)
        {
            return objDa.InsertDmDanToc(obj);
        }

        public bool EditDmDanToc(DmDanTocEntity obj)
        {
            return objDa.EditDmDanToc(obj);
        }

        public bool DeleteDmDanToc(string maDanToc)
        {
            return objDa.DeleteDmDanToc(maDanToc);
        }

        public DmDanTocEntity GetDmDanToc(string maDanToc)
        {
            return objDa.GetDmDanToc(maDanToc);
        }

        public IList<DmDanTocEntity> GetDmDanTocList()
        {
            return objDa.GetDmDanTocList();
        }

    }
}
